<% if branch_endorsement.priority.status == 'buried' %>
	<td valign="top" align="center" colspan="3">
		<div class="position_nochange"><%= t('buried') %></div>
	</td>
<% elsif branch_endorsement.priority.status == 'inactive' %>
	<td valign="top" colspan="3" align="right">
		<div class="priority_inactive">
		<%= official_status(branch_endorsement.priority) %>
		</div>
	</td>		
<% else %>
	<td valign="top" align="right" width="30" style="padding-right: 5px;">
		<% if branch_endorsement.position != 0 %>
		<div class="priority_position" title="<%= t('priorities.position.title', :position => branch_endorsement.position, :government_name => current_government.name) %>">
			<%= branch_endorsement.position %>
		</div>
		<% end %>
	</td>
	<% if branch_endorsement.is_new? %>
	<td valign="top" align="center" colspan="2">
		<div class="position_new"><%= t('new') %></div>
	</td>
	<% elsif branch_endorsement.position_7days_change == 0 and branch_endorsement.position_30days_change == 0 %>
	<td valign="top" align="center" colspan="2">
		<div class="position_nochange" title="<%= t('priorities.position.nochange') %>"><%= t('unch').upcase %></div>
	</td>		
	<% else %>
	<td valign="top" style="padding-left: 2px;">
		<% if branch_endorsement.position_7days_change > 0 %>
			<div class="position_up" title="<%= t('priorities.position.up.7days', :count => branch_endorsement.position_7days_change.abs) %>"><%= branch_endorsement.position_7days_change.abs %></div>
		<% elsif branch_endorsement.position_7days_change < 0 %>
			<div class="position_down" title="<%= t('priorities.position.down.7days', :count => branch_endorsement.position_7days_change.abs) %>"><%= branch_endorsement.position_7days_change.abs %></div>
		<% end %>
	</td>
	<td valign="top" style="padding-left: 3px;">
		<% if branch_endorsement.position_30days_change > 0 %>
			<div class="position_up" title="<%= t('priorities.position.up.30days', :count => branch_endorsement.position_30days_change.abs) %>"><%= branch_endorsement.position_30days_change.abs %></div>
		<% elsif branch_endorsement.position_30days_change < 0 %>
			<div class="position_down" title="<%= t('priorities.position.down.30days', :count => branch_endorsement.position_30days_change.abs) %>"><%= branch_endorsement.position_30days_change.abs %></div>
		<% end %>
	</td>		
	<% end %>			
<% end %>				
